<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sửa đổi chủ đề</title>
</head>

<body>
<?PHP
	require ('models/m_chude.php');
	
	    $post=getbyid_chude($_GET['id']);
		$post1=getbyid_chude($post['Parent']);
		$menu = Menu();
		if (isset($_POST['update']) )
			{ 
				update_chude($_POST);
				$post=getbyid_chude($_GET['id']); 
		        header('Location: suachude.php?id='.$_GET['id']);

			
			}

	require ('v_chude_sua.php'); 
	
?>
</body>
</html>